00001 // deNetWinServer.h : main header file for the DENETWINSERVER application 00002 // 00003 00004 #if !defined(AFX_DENETWINSERVER_H__BDE26055_A9A3_45F7_A338_A9E0E74CDF47__INCLUDED_) 00005 #define AFX_DENETWINSERVER_H__BDE26055_A9A3_45F7_A338_A9E0E74CDF47__INCLUDED_ 00006 00007 #if _MSC_VER > 1000 00008 #pragma once 00009 #endif // _MSC_VER > 1000 00010 00011 #ifndef __AFXWIN_H__ 00012 #error include 'stdafx.h' before including this file for PCH 00013 #endif 00014 00015 #include "resource.h" // main symbols 00016 #include "deNetWinMasterServer.hpp" 00017 00018 ///////////////////////////////////////////////////////////////////////////// 00019 // CDeNetWinServerApp: 00020 // See deNetWinServer.cpp for the implementation of this class 00021 // 00022 class CDeNetWinServerApp : public CWinApp 00023 { 00024 public: 00025 CDeNetWinServerApp(); 00026 00027 // Overrides 00028 // ClassWizard generated virtual function overrides 00029 //{{AFX_VIRTUAL(CDeNetWinServerApp) 00030 public: 00031 virtual BOOL InitApplication(); 00032 virtual void OnFinalRelease(); 00033 virtual BOOL InitInstance(); 00034 virtual int ExitInstance(); 00035 //}}AFX_VIRTUAL 00036 00037 // Implementation 00038 00039 deNetWinMasterServer * GetServer( void ) { return &m_Server; } 00040 deNetWinMasterServer m_Server; 00041 00042 public: 00043 //{{AFX_MSG(CDeNetWinServerApp) 00044 afx_msg void OnAppAbout(); 00045 afx_msg void OnCreateServer(); 00046 afx_msg void OnUpdateCreateServer(CCmdUI* pCmdUI); 00047 afx_msg void OnDisconnect(); 00048 afx_msg void OnUpdateDisconnect(CCmdUI* pCmdUI); 00049 //}}AFX_MSG 00050 DECLARE_MESSAGE_MAP() 00051 }; 00052 00053 00054 ///////////////////////////////////////////////////////////////////////////// 00055 00056 //{{AFX_INSERT_LOCATION}} 00057 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00058 00059 #endif // !defined(AFX_DENETWINSERVER_H__BDE26055_A9A3_45F7_A338_A9E0E74CDF47__INCLUDED_)
1.3-rc3